import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import HelloChina from "../components/HelloChina";
import HelloTable from "../components/HelloTable";
import User from "../components/User";
import EmpUser from "../components/EmpUser";
import DeptUser from "../components/DeptUser";
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/hellochina',
      name: 'HelloChina',
      component: HelloChina
    },
    {
      path: '/hellotable',
      name: 'HelloTable',
      component: HelloTable
    },
    {
      path: '/user',
      name: 'User',
      component: User
    },
    {
      path: '/empuser',
      name: 'EmpUser',
      component: EmpUser
    },
    {
      path: '/deptuser',
      name: 'DeptUser',
      component: DeptUser
    }
  ]
})
